Method for measuring external light to control protection means against sunlight or illumination

ABSTRACT

The invention concerns a method which consists in detecting and discriminating at least three states, respectively blue sky, white sky and direct sunlight. The discrimination between the three states is based, for example, on an intermediate detection distinguishing between either a homogenous state or an inhomogeneous state of the sky. White sky means a sky saturated with humidity, with strong light diffusion and producing a high level of brightness. The method can be implemented, for example by using sensors or a monochromatic or colour camera.

[0001] The invention relates to a process for measuring exterior light for the control of a motorized means of solar protection fitted to at least one bay of a building and/or lighting.

[0002] It is known to use the signal transmitted by an exterior sunshine sensor to actuate solar protection means situated on a bay or a set of bays.

[0003] Such solar installations are described, for example, in patents FR 2 510 777, FR 2 740 825 and DE 43 15 406. In these installations the motorized solar protection elements are controlled as a function of measurements performed by one or more solar cells, that is to say photovoltaic cells, in general one cell per facade. These solar cells measure the luminous intensity of the direct solar radiation. Above a certain threshold, and after a certain time delay (described in particular in document DE 43 15 406), the solar protections are placed in a certain position. Below this threshold, and after a certain time delay, they are raised again.

[0004] Numerous improvements have been made to these installations, such as variable time delays, different thresholds of appearance and of disappearance, tracking of the course of the sun as a function of longitude, latitude, date, time, orientation of the facade, mechanical and dimensional characteristics of the bay to be protected. All the automation mechanisms of the prior art have a common point, however, they all function in periods of sunshine and are controlled by direct solar radiation.

[0005] U.S. Pat. No. 4,538,218 describes a sensor making it possible to circumvent the influence of direct sun on the measurement of the exterior illumination. The intended aim is to ascertain the level of light at least available by scattering from the heavens, this level conditioning the supplementary provision of light to be provided by lighting units and consequently the power to be delivered to these lighting units. For this purpose, the use is advocated of a plurality of exterior sensors disposed at offset angles and covering the entire portion of the heavens seen from the facade. The lowest value of the signals sensed is necessarily representative of the minimum available natural illumination. Conversely, the highest value corresponds to the effect of direct sun. This value is eliminated and the other signals are averaged, if appropriate, to evaluate the average available scattered illumination.

[0006] In U.S. Pat. No. 5,237,169 in the name of the applicant, it is proposed that solar protections and artificial lighting be controlled simultaneously with a view to optimizing these two components of visual comfort.

[0007] U.S. Pat. No. 4,355,896 provides for the use of several light sensors, of which one receives the direct light from the sun and the others are directed towards parts of the sky not containing the sun, with a view to determining the degree of cloudiness. This device is intended for meteorological predictions, for the evaluation of climatic factors and for the evaluation of solar energy converters and for other unspecified applications.

[0008] U.S. Pat. No. 4,008,391 describes a device for measuring the quality of the lighting of a work surface. This device uses two linear sensors. By arithmetic summation and division of the signals delivered by the sensors a resultant is determined that can be read out on display means.

[0009] It is also well known to perform an accurate measurement of radiation scattered by means of a device known as a pyranometer. Let us recall that this device simply contains a single horizontal photovoltaic sensor and an opaque arc of a circle centered on this sensor and inclined along the latitude of the location. Such a device would be relatively complicated to use for the control of solar protection.

[0010] In a general manner, the prior art is devoid of any document in which there is a concern to introduce a discrimination between fundamentally different situations of scattered light, that is to say in the absence of direct sun: that of a cloudless sky or, conversely, that of a very cloudy sky or one saturated with humidity. The latter situation, often dubbed “white sky” is frequently encountered in the equatorial zones, but also in the countries of northern Europe. The sun illuminates the cloudy zone which produces great scatter and therefore presents considerable luminance, such that solar protections are required. This situation is also akin to that of a building's large bright facade opposite the relevant bay and itself subjected to the direct illumination of the sun. A highly reflective, small neighboring facade of small solid angle seen from the relevant bay, will conversely be akin to direct sun.

[0011] The aim of the present invention is to fill the lacuna alluded to above.

[0012] The process for measuring exterior light according to the invention is one wherein at least three states, respectively blue sky, white sky and direct sun, are detected and discriminated. Here the term blue sky refers to a substantially homogeneous sky presenting low luminance (fair weather sky, gray sky, night sky) and the term white sky refers to a substantially homogeneous sky presenting high luminance.

[0013] Each state may be decomposed into several substates. The discrimination between the three states is obtained on the basis of an intermediate detection distinguishing either a homogeneous state CH or an inhomogeneous state CNH of the sky.

[0014] According to one mode of execution, the difference between the measurements E1, E2 of two sensors, or of a plurality of sensors of sunshine that may not simultaneously receive direct sunlight, is compared with a first threshold value S1, the state of the sky being homogeneous CH if the absolute value of this difference remains less than the threshold S1 and inhomogeneous CNH in the converse case. In a homogeneous sky CH, the measurement E1, E2 of one sunshine sensor at least, or the average of several sunshine sensors, is compared with a second threshold value S2, the state of the sky being white if the measurement is greater than the threshold S2 and blue in the converse case.

[0015] The direct sun state corresponds to an inhomogeneous state of the sky.

[0016] According to another mode of execution, in an inhomogeneous sky state CNH, the measurement E1, E2 of one sunshine sensor at least, or the average of several sunshine sensors is compared with a third threshold value S3, the state of the sky being annoying direct sun if the measurement is greater than the threshold S3, and non-annoying direct sun in the converse case.

[0017] According to another mode of execution, the plurality of sensors is replaced by a monochrome camera with matrix sensors that is provided with a wide-angle objective, and whose video signal is utilized, over at least one scanning period, to define the homogeneous or inhomogeneous state of the sky by comparing the measured differences with a first threshold S1, then in the case of a homogeneous sky to define a blue sky state if the average measurement is less than a second threshold S2 and white sky state in the converse case, and finally, to define a state of annoying direct sun by comparing the measurements with a third threshold S3.

[0018] According to another mode of execution, the plurality of sensors is replaced by a color camera with matrix sensors R, G, B that is provided with a wide-angle objective, and whose video signal of one color, for example G, is utilized, over at least one scanning period, to define the homogeneous or inhomogeneous state of the sky by comparing the measured differences with a first threshold S1, then, in the case of a homogeneous sky, by using the ratio of the colors R/B or their difference to define the color of the sky.

[0019] According to another mode of execution using a processor using fuzzy logic algorithms, each of the detected and discriminated states is in this case a state characterized by its membership function in a fuzzy subset.

[0020] Two intermediate fuzzy subsets, respectively homogeneous sky and inhomogeneous sky, and the corresponding membership functions CH and CNH are preferably defined.

[0021] According to one mode of execution, the variable magnitude of the homogeneous sky CH and inhomogeneous sky CNH membership functions is the absolute difference between the measurements E1, E2 of two sensors or the maximum difference of a plurality of sunshine sensors that may not simultaneously receive direct sunlight.

[0022] According to another mode of execution, the variable magnitude of the blue sky and white sky membership functions is the measurement E1, E2 of one sunshine sensor at least, or the average of several sunshine sensors.

[0023] The sensors used are constituted, for example, by the matrix of photosensitive elements of a monochrome or color CCD camera, furnished with a wide-angle objective.

[0024] The subject of the invention is also a solar protection and/or lighting device comprising at least one element operated by the process according to one of the modes of execution.

[0025] The appended drawing represents, by way of example, a few modes of implementation of the process according to the invention.

[0026]FIG. 1 diagrammatically represents a first mode of execution.

[0027]FIG. 2 diagrammatically represents a variant of the first mode of execution.

[0028]FIG. 3 diagrammatically represents a second mode of execution.

[0029]FIGS. 4 and 5 are charts illustrating, in a conventional manner, the application of the method of fuzzy logic to the processing of three states.

[0030] In the mode of execution according to FIG. 1, use is made of two photovoltaic sensors 1 and 2 disposed respectively on two nonparallel facades 3 and 4 of a building. These sensors could also be close to one another but disposed in such a way as to form a sufficient angle, typically equal to half the angular opening of the space to be scanned. The sensors currently on the market being intentionally highly non-directional, two sensors are sufficient to cover the heavens. The signals provided by the sensors 1 and 2 are applied to a straightforward computation unit 5 which delivers on its outputs on the one hand the absolute value |E1−E2| and on the other hand the average (E1+E2)/2. By means of a first comparator 6 the absolute value |E1−E2| is compared with a first threshold value S1, while the average value (E1+E2)/2 is compared, by means of a second comparator 7, with a second threshold value S2. S1 is used as threshold for detecting the homogeneity of the luminances of the heavens whereas the threshold S2 is a value corresponding to dazzle. S1 is much smaller than S2. It will be recalled that the comparator 7 is of the type exhibiting two analog inputs A and B, an enable input V (CH) and two outputs, of which one is active if A>B and the other is active if A<B, the outputs being active only if the enable input is activated.

[0031] If |E1−E2|<S1, the sky is said to be homogeneous (output CH): none of the sensors is receiving direct sun. If on the other hand |E1−E2|>S1, this signifies that one of the sensors is receiving the sun directly (nonhomogeneous sky, output CNH).

[0032] Comparing the average (E1+E2)/2 with S2 makes it possible to ascertain, when the sky is homogeneous (CH), whether the sky is dazzling (“white”) or otherwise (“blue”). Instead of comparing the average, it would be possible to simply compare E1 or E2 with S2.

[0033] It would of course be possible to compare the sum E1+E2 with a threshold S′2 twice as large as S2.

[0034] If the sensors are used to control straightforward installations, in which the solar protections are either fully closed or fully open, use will preferably be made of a third threshold S3, generally greater than the threshold S2. The “direct sun” state is then decomposed into two substates, “annoying direct sun” and “non-annoying direct sun”. This mode of execution is represented diagrammatically in FIG. 2. Here the average (E1+E2)/2 is compared with S3 by means of a comparator 8 on the outputs of which are obtained the two substates “annoying direct sun” and “non-annoying direct sun”.

[0035] The sensor described in U.S. Pat. No. 4,538,218 may for example be used as sensor. The discriminator must then be modified so as to compare the “direct sunlight” level with S3 and to compare the “skylight” level with S2.

[0036] Of course, the above two sensors may be replaced by a larger number of sensors, thereby allowing a wider field and/or better information regarding the heterogeneous nature of the sky.

[0037] In this case, a simple way of using the above method consists in considering the maximum difference (in absolute value) for the homogeneity test (comparison with the threshold S1) and the average value of the measurements for the blue sky/white sky discrimination (comparison with the threshold S2) or else for an annoying direct sun/non-annoying direct sun discrimination (comparison with the threshold S3).

[0038] According to another mode of execution, this plurality of sensors is constituted by the matrix of photosensitive elements of a “scan type” CCD camera, furnished with a wide-angle objective. In the case of a monochrome camera, the utilization of the video signal over a period gives the distribution of the light received on the various pixels. It is known to the person skilled in the art to obtain, from this signal, the average value and the maximum difference, so as to apply the processing described above. Although the invention does not require a fine analysis of the sky, such a solution is beneficial since such cameras are nowadays accessible at very low price and can be interfaced in a straightforward manner with a digital system. These cameras are known as “webcams”.

[0039]FIG. 3 diagrammatically represents the use of a color camera. The camera 9 is placed outside the building 10. It delivers three video signals R (red), G (green), B (blue). During each complete scanning cycle of the matrix of the sensors, each video signal varies as the light sensed by all the pixels scanned in succession. The R, G, B video signals are processed by a unit 11. One of the video signals, for example G, is processed in a digital manner or with the aid of straightforward analogue means (diodes, resistors and capacitors) in such a way as to give rise to two values VMAX and VMIN. On a third output, the unit 11 provides the ratio of the other two video signals, in this instance R/B.

[0040] The circuit 12 computes the absolute value of the difference VMAX−VMIN, that is to say |VMAX1−VMIN|, and this value is compared with the threshold S1 by means of a comparator 13. As in the first mode of execution, if |VMAX1−VMIN|<S1, the heavens are considered to be homogenous (blue sky or white sky, output CH). If it is greater than S1, this signifies direct sun (nonhomogeneous sky, output CNH).

[0041] In the case of a homogeneous sky (CH), it remains to distinguish between blue sky and white sky. For this purpose use is made of the spectral decomposition afforded us by the camera. More precisely, the ratio R/B is compared with a threshold value S″2 by means of a comparator 14. The value of S″2 is much smaller than 1. If R/B<S″2, this signifies that the signal B is much larger than the signal R, that is to say that the sky is “blue”. If R/B>S″2, this signifies that the sky is “white”.

[0042] It is of course possible to choose one of the other two video signals R and B to output the values MAX and MIN and to calculate the ratio of the other two signals.

[0043] Instead of the value MIN it would be possible to use the average value.

[0044] A person skilled in the art will be able to use a combination other than the ratio to compare the relative magnitude of the various spectral components of the light.

[0045] Instead of a color camera, it is possible to use photodiodes furnished with filters as is described in U.S. Pat. No. 5,426,294 to analyze the spectral composition of the light captured.

[0046] According to another mode of execution, fuzzy logic algorithms are used. It is known for automation engineers to use fuzzy logic algorithms to adapt the response to a situation combining several aspects. Each individual case calls for a particular response referred to as a “rule”, but it is acceptable for a situation to require the weighted combination of several rules. Thus, in the case of the invention, a sky veiled by a homogeneous humid atmosphere may give rise to a combination of aspects such as white sky and direct sun (attenuated).

[0047] The three-state discrimination according to the invention is applied by considering that each of the three detected and discriminated states is characterized by its membership function in a fuzzy subset (direct sun or blue sky or white sky). Unlike in the previous cases the states are no longer exclusive.

[0048] In a straightforward manner and according to the same principles as in the above modes of execution, it is beneficial to decompose the discrimination into two stages by designating an intermediate membership function: homogenous sky.

[0049]FIG. 4 gives, in a conventional manner, an example of the homogeneous sky and nonhomogeneous sky membership functions. As in the above modes of execution, it is the absolute value of the difference in illumination between two sensors or a plurality of elementary sensors (CCD camera) which makes it possible to determine the degree of membership in one or other of the fuzzy subsets, homogeneous sky and nonhomogeneous sky. In a straightforward case a nonhomogeneous sky may be likened to direct sun.

[0050]FIG. 5 represents in the same manner an example of the blue sky and white sky membership functions. The degree of membership in one or other of the fuzzy subsets depends either on the value of average level of illumination or on its spectral composition, for example R/B, according to the sensor used.

[0051] In the applications to the control of solar protection means, the detecting of two different states does not necessarily involve two different processing operations. Thus, in the case of a straightforward installation, without automatic lighting and with automated solar protection with no intermediate position (0 or 100% protection), the solar protection will be deactivated in state 1 (blue sky) and activated for states 2 and 3 (direct sun or white sky).

[0052] In the case of a more elaborate solar protection installation comprising, for example, a perforated screen reducing the transparency of the bay and an opaque screen able to stop direct sun, the solar protection will be deactivated for state 1, the opaque screen will be activated for state 2 and the perforated screen will be activated for state 3.

[0053] If the installation so permits, the opaque screen will be lowered only down to a level sufficient so as not to be an annoyance to the occupants of the building, for example to the user's liking or as a function of the latitude, the time and the calendar. In this case, state 2 is decomposed into a plurality or a continuity of substates.

[0054] A decomposition of state 2 is especially useful for controlling the orientation of the slats of a slatted blind.

[0055] In the same manner, it is possible if need be, as described in the prior art, to control the lighting units to a greater or lesser extent when state 1 prevails, by decomposing it into a plurality or a continuity of substates.

[0056] A decomposition of state 3 (white sky), may also be used to modify the transparency of an electro-chromic glazing as a function of the greater or lesser luminance of the sky. 

1. A process for measuring exterior light for the control of at least one motorized means of solar protection and/or lighting, wherein at least three states, respectively blue sky, white sky and direct sun, are detected and discriminated.
 2. The process as claimed in claim 1, wherein the discrimination between the three states is obtained on the basis of an intermediate detection distinguishing either a homogeneous state (CH) or an inhomogeneous state (CNH) of the sky.
 3. The process as claimed in claim 2, wherein the difference between the measurements (E1, E2) of two sensors, or of a plurality of sensors of sunshine that may not simultaneously receive direct sunlight, is compared with a first threshold value (S1), the state of the sky being homogeneous (CH) if the absolute value of this difference remains less than the threshold (S1) and inhomogeneous (CNH) in the converse case.
 4. The process as claimed in claim 2, wherein, in a homogeneous sky (CH), the measurement (E1, E2) of one sunshine sensor at least, or the average of several sunshine sensors, is compared with a second threshold value (S2), the state of the sky being white if the measurement is greater than the threshold (S2) and blue in the converse case.
 5. The process as claimed in claim 2, wherein, in an inhomogeneous sky state (CNH, state of direct sun corresponding to an inhomogeneous state of the sky), the measurement (E1, E2) of one sunshine sensor at least, or the average of several sunshine sensors is compared with a third threshold value (S3), the state of the sky being annoying direct sun if the measurement is greater than the threshold (S3), and non-annoying direct sun in the converse case.
 6. The process as claimed in any one of claims 1 to 5, wherein at least one state is decomposed into several substates.
 7. The process as claimed in one of claims 3 to 6, wherein the plurality of sensors is replaced by a monochrome camera with matrix sensors that is provided with a wide-angle objective, and whose video signal is utilized, over at least one scanning period, to define the homogeneous or inhomogeneous state of the sky by comparing the measured differences with a first threshold (S1), then in the case of a homogeneous sky to define a blue sky state if the average measurement is less than a second threshold (S2) and white sky state in the converse case, and finally, to define a state of annoying direct sun by comparing the measurements with a third threshold (S3).
 8. The process as claimed in one of claims 3 to 6, wherein the plurality of sensors is replaced by a color camera with matrix sensors (R, G, B) that is provided with a wide-angle objective, and whose video signal of one color (G) is utilized, over at least one scanning period, to define the homogeneous or inhomogeneous state of the sky by comparing the measured differences with a first threshold (S1), then, in the case of a homogeneous sky, by using the ratio of at least two colors (R/B) or their difference to define the color of the sky.
 9. The process as claimed in claim 1, wherein a processor using fuzzy logic algorithms is used and wherein each of the detected and discriminated states is in this case a state characterized by its membership function in a fuzzy subset.
 10. The process as claimed in claim 9, wherein two intermediate fuzzy subsets, respectively homogeneous sky (CH) and inhomogeneous sky (CNH), and the corresponding membership functions are defined.
 11. The process as claimed in claim 10, wherein the variable magnitude of the homogeneous sky (CH) and inhomogeneous sky (CNH) membership functions is the absolute difference between the measurements (E1, E2) of two sensors or the maximum difference of a plurality of sunshine sensors that may not simultaneously receive direct sunlight.
 12. The process as claimed in claim 10, wherein the variable magnitude of the blue sky and white sky membership functions is the measurement (E1, E2), of one sunshine sensor at least, or the average of several sunshine sensors.
 13. The process as claimed in claim 11 or 12, wherein the sensors used are constituted by the matrix of photosensitive elements of a monochrome or color camera (CCD), furnished with a wide-angle objective. 